<extend name="Base/base" />
<block name='head'>
    <link rel="stylesheet" href="/Public/Admin/css/personal.css"/>
</block>
<block name="content" > 
    <section class="layui-larry-box">
        <div class="larry-personal">
            <div class="layui-tab">
                <blockquote class="layui-elem-quote news_search">
                    <div class="layui-inline">
                        <a class="layui-btn layui-btn-normal newsAdd_btn" href="{:U('Index/app')}">返回</a>
                        <a class="btn btn-primary search" href="{:U('appSave')}"><i class="iconfont icon-zengjia1"></i> 添加应用</a>
                    </div>
                </blockquote>

                <div class="layui-tab-content larry-personal-body clearfix mylog-info-box">
                    <!-- 计划列表 -->
                    <div class="layui-tab-item layui-field-box layui-show">
                        <table class="layui-table table-hover" lay-even="" lay-skin="nob">
                            <thead>
                            <th width="25">序号</th>
                            <th width="40">应用名称</th>
                            <th width="120">应用Id</th>
                            <th width="110">token</th>
                            <th width="100">企业id</th>
                            <th width="100">操作</th>
                            </thead>
                            <tbody>
                            <notempty name="lists">
                                <foreach name="lists" item="row">
                                    <tr class="text-c">
                                        <td>{$row.id}</td>
                                        <td>{$row.webname}</td>
                                        <td>{$row.wx_agentid}</td>
                                        <td>{$row.token}</td>
                                        <td>{$row.wx_corpid}</td>
                                        <td class="f-14 product-brand-manage">
                                            <a style="text-decoration:none" href="{:U('appSave',array('id'=>$row[id],'mid'=>$mid))}" title="编辑"><i class="iconfont icon-xiugai" style="font-size:16px;"> </i></a> 
                                            <a style="text-decoration:none" class="ml-5 delete" data-url="{:U('appDel',array('id'=>$row['id']))}"  title="删除"><i class="iconfont icon-shanchu3" style="font-size:16px;"> </i></a>
                                        </td>
                                    </tr>
                                </foreach>
                                <else/>
                                <tr><td colspan="2">暂无数据</td></tr>
                            </notempty>
                            </tbody>
                        </table>
                        <div class="larry-table-page clearfix">
                            <!--<a href="javascript:;" class="layui-btn layui-btn-small"><i class="iconfont icon-shanchu1"></i>删除</a>-->
                            <div id="page" class="page">{$page}</div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</block>
<block name="script">
    <script type="text/javascript" src="/Public/Admin/js/common.js"></script>
    <script type="text/javascript">
    </script>    
</block>
